{% extends "admin/base_site.html" %}
{% load admin_urls static admin_modify %}

{% block extrahead %}{{ block.super }}
<script type="text/javascript" src="{% static 'js/i18n/en-US.js' %}"></script>
{{ media }}
{% endblock %}

{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/forms.css" %}">{% endblock %}

{% block coltype %}colM{% endblock %}

{% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form{% endblock %}

{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">Home</a>
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_config.verbose_name }}</a>
&rsaquo; {% if has_view_permission %}<a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %}
&rsaquo; Add {{ opts.verbose_name }}
</div>
{% endblock %}

{% block content %}

<div id="content-main">
  {% if form %}
    <form method="post">
      {% csrf_token %}
      <p>Enter one name per line.</p>
      <div class="form-row">
        {{ form.names.errors }}
        {{ form.names }}
      </div>
      <div class="submit-row">
        <input type="submit" name="_save" class="default" value="Save">
      </div>
    </form>
  {% endif %}
</div>

{% endblock content %}
